﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SpeakupBackend.Themes
{
    public class WorkshopThemeBuilder
    {
        public WorkshopClassType ClassType = null;
        public LevelGroup LevelGroup = null;
        public Week Week = null;
        public String Name = null;

        public WorkshopTheme Create()
        {
            if (ClassType == null)
            {
                throw new ArgumentException("ClassType");
            }

            if(LevelGroup == null)
            {
                throw new ArgumentException("LevelGroup");
            }

            if (Week == null)
            {
                throw new ArgumentException("Week");
            }

            if (Name == null)
            {
                throw new ArgumentException("Name");
            }

            return new WorkshopTheme(ClassType, LevelGroup, Week, Name);
        }
    }
}
